* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "zlib.h"
+#undef FAR
+
#define COBJMACROS
#include <stdarg.h>
#include "msopc.h"
#include "opc_private.h"
-#include "zlib.h"
#include "wine/debug.h"
#include "wine/heap.h"
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#include "zlib.h"
+#undef FAR
+
#include <stdlib.h>
#include "winsock2.h"
#include "winuser.h"
#include "internet.h"
-#include "zlib.h"
#include "resource.h"
#include "wine/debug.h"
#include "wine/exception.h"
}
}
- if (pFile->type == INCL_SYSTEM && pFile->use_msvcrt)
- {
- if (!strcmp( pFile->name, "stdarg.h" )) return NULL;
- fprintf( stderr, "%s:%d: error: system header %s cannot be used with msvcrt\n",
- pFile->included_by->file->name, pFile->included_line, pFile->name );
- exit(1);
- }
-
if (pFile->type == INCL_SYSTEM) return NULL; /* ignore system files we cannot find */
/* try in src file directory */
{
struct strarray all_libs = empty_strarray;
struct strarray dep_libs = empty_strarray;
+ struct strarray extra_ldflags = get_expanded_make_var_array( make, "EXTRA_LDFLAGS" );
char *module_path = obj_dir_path( make, make->module );
const char *debug_file = NULL;
char *spec_file = NULL;
if (debug_file) output_filename( strmake( "-Wl,--debug-file,%s", obj_dir_path( make, debug_file )));
output_filenames( all_libs );
output_filename( make->is_cross ? "$(CROSSLDFLAGS)" : "$(LDFLAGS)" );
+ output_filenames( extra_ldflags );
output( "\n" );
if (make->unixobj_files.count)